import request from '@/utils/request.js'

/****获取新闻列表*****/



//获取活动列表
export function getActivityList(data){
	return request({
		url:'/activity/index',
		method:'post',
		data:{
			...data
		}
	})
}



//获取公告列表
export function getNoticeList(data){
	return request({
		url:'/content/list',
		method:'post',
		data:{
			type:1,
			...data
		}
	})
}

//获取详情
export function getDetails(id){
	return request({
		url:'/activity/detail',
		method:"POST",
		data:{
			id
		}
	})
}

//获取详情
export function index_transaction(id){
	return request({
		url:'/index/index_transaction',
		method:"get",
		data:{}
	})
}